home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1992-03-06 | 1.2 KB | 41 lines |
- ' *********************
- ' * *
- ' * Ascii Codes *
- ' * *
- ' * by *
- ' * *
- ' * Karl Fletcher *
- ' * *
- ' * � K-Soft 1995 *
- ' * *********************
- ' * *
- ' * Print out the screen and use it as *
- ' * an easy reference guide .. *
- ' * It'll save you looking them up *
- ' * *
- ' *****************************************
-
- Global A,B,X,Y
- Screen Open 0,640,256,4,Hires : Cls 0 : Flash Off : Curs Off : Hide
- Palette $0,$2ADD,$8A5,,
- Paper 0 : Pen 2
- X=0 : Y=0 : A=32 : B=61 : _ASCII
- X=9 : Y=0 : A=62 : B=91 : _ASCII
- X=18 : Y=0 : A=92 : B=121 : _ASCII
- X=27 : Y=0 : A=122 : B=151 : _ASCII
- X=36 : Y=0 : A=152 : B=181 : _ASCII
- X=45 : Y=0 : A=182 : B=211 : _ASCII
- X=54 : Y=0 : A=212 : B=241 : _ASCII
- X=63 : Y=0 : A=242 : B=255 : _ASCII
- Pen 1 : Locate 64,20 : Print "This is the"
- Locate 64,22 : Print "Ascii character"
- Locate 64,24 : Print "set"
- Wait Key : Edit
-
- Procedure _ASCII
- For F=A To B
- Locate X,Y
- Print F;" = ";Chr$(F)
- Y=Y+1
- Next F
- End Proc